import request from '@/utils/request';

export async function uploadFile(params) {
  return request("/img/upload", {
    method: "POST",
    headers: { 'Content-Type': 'multipart/form-data' },
    body: params
  });
}
